package com.pomelo;

import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.JSchException;
import com.jcraft.jsch.SftpException;
import com.pomelo.common.FtpUtils;

import java.io.IOException;
import java.util.Vector;

public class App {

    public static void main(String[] args) throws SftpException, JSchException, IOException {
        long start = System.currentTimeMillis();
        Vector<ChannelSftp.LsEntry> allFile = FtpUtils.getAllFile();
        long end = System.currentTimeMillis();
        System.out.println("total time:" + (end - start) + "s");
    }
}